<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Welcome extends CI_Controller {

    public function __construct() {
        parent::__construct();
        // $lib_config_array = array('congfile' => 'topapiconfig', 'congifarray_key' => 'tobaokeapi');
        // $this->load->library('topclass_new', $lib_config_array);  
    }
    public function index() {
        // $this->topclass_new->test();
        $this->load->view('welcome_message');
    }
    public function test() {
        $lib_config_array = array('congfile' => 'topapiconfig', 'congifarray_key' => 'tobaokeapi');//,"type"=>"front"
        $this->load->library('topclass_new', $lib_config_array);
        $this->topclass_new->test();
         $this->topclass_new->test();
        $this->load->view('welcome_message');
    }

}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */